﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interpreter
{
	internal class TryContext
	{
		public int CatchStart;
		public int FinallyStart;
		public TryContext Next;
		public Value BubblingException = null;
		public bool BubblingExceptionCaught = false;

		public TryContext(int catchStart, int finallyStart, TryContext next)
		{
			this.CatchStart = catchStart;
			this.FinallyStart = finallyStart;
			this.Next = next;
		}
	}
}
